#ifndef __CATHREADH__
#define __CATHREADH__

struct es_t;

int es_thread_start(pthread_t *tid, void *(*thread_proc)(void* user), void* user, es_t* psys=NULL);
void es_thread_stop(pthread_t tid);

#endif
